#ifndef DIAG_MATRIX_H
#define DIAG_MATRIX_H

#include "vmatrix.h"

class DiagMatrix : public VMatrix
{
public:
	DiagMatrix();
	void SquareRoot();

protected:
	static const int MAX_GIVENS_ROTATIONS = 100;

	VMatrix matG;
	bool ApplyGivensRotation();
};

#endif
